<?php
/**
 * LICENSE
 *
 * Copyright (C) 2010 Nicholas Miller
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or any
 * later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/**
 * Set Access Permissions Request Details
 *
 * @author     Nicholas Miller <nicholas.j.miller@gmail.com>
 * @copyright  2010 Nicholas Miller
 * @category   PaypalSoap
 * @package    Type
 */
class PayPalSoap_Type_SetAccessPermissionsRequestDetails
    extends PayPalSoap_Type_Abstract
{
    /**
     * URL to which the customer's browser is returned after choosing to login with
     * PayPal.
     */
    public $ReturnURL;

    /**
     * URL to which the customer is returned if he does not approve the use of PayPal
     * login.
     */
    public $CancelURL;

    /**
     * URL to which the customer's browser is returned after user logs out from PayPal.
     */
    public $LogoutURL;

    /**
     * The type of the flow.
     */
    public $InitFlowType;

    /**
     * The used to decide SkipLogin allowed or not.
     */
    public $SkipLoginPage;

    /**
     * contains information about API Services
     */
    public $RequiredAccessPermissions;

    /**
     * contains information about API Services
     */
    public $OptionalAccessPermissions;

    /**
     * Locale of pages displayed by PayPal during Authentication Login.
     */
    public $LocaleCode;

    /**
     * Sets the Custom Payment Page Style for flow pages associated with this
     * button/link. PageStyle corresponds to the HTML variable page_style for
     * customizing flow pages. The value is the same as the Page Style Name you chose
     * when adding or editing the page style from the Profile subtab of the My Account
     * tab of your PayPal account.
     */
    public $PageStyle;

    /**
     * A URL for the image you want to appear at the top left of the flow page. The
     * image has a maximum size of 750 pixels wide by 90 pixels high. PayPal recommends
     * that you provide an image that is stored on a secure (https) server.
     */
    public $cpp_header_image;

    /**
     * Sets the border color around the header of the flow page. The border is a
     * 2-pixel perimeter around the header space, which is 750 pixels wide by 90 pixels
     * high.
     */
    public $cpp_header_border_color;

    /**
     * Sets the background color for the header of the flow page.
     */
    public $cpp_header_back_color;

    /**
     * Sets the background color for the payment page.
     */
    public $cpp_payflow_color;

    /**
     * First Name of the user, this information is used if user chooses to signup with
     * PayPal.
     */
    public $FirstName;

    /**
     * Last Name of the user, this information is used if user chooses to signup with
     * PayPal.
     */
    public $LastName;

    /**
     * User address, this information is used when user chooses to signup for PayPal.
     */
    public $Address;
}

